Procedural Dungeon Generator 4.0

Hello everyone! With Update 4.0 I’m excited to announce 2 major changes to the dungeon generator: The addition of Centralized Room Decorations, and a new Dungeon Mini-map Widget! The main focus of this update is the introduction of central decorations which changes how dungeons generate. These decorations are added to the path themes like other decorations, however when a path is set to spawn them it will clear out the area around the center of each room in the path to ensure the decorations are able to spawn. Along with clearing out the spawning area, the spawning of central decorations will also override normal corridor pathing, pushing the end points to the edge of the room and forcing corridor and bridge corners to wrap around the room. This is to ensure the decoration area is clear of stairs or other obstructions.
These decorations are perfect for shops, traps, or puzzles that you want to guarantee will spawn with a dedicated space to use in each room.
With the changes to corridor pathing and the complexity of bridges and overlapping paths, this update also includes a new mini-map widget to help players navigate the dungeons. The mini-map works with dungeons generated both in editor and at runtime, and color codes paths according to a predetermined color in the Room Path Data.

I hope everyone enjoys this update and makes some awesome dungeons!

Update 4.0

  • Changed

    • Added a separate Bridge Tiles array to Path Data 

    • Added the room’s level and dimensions to the room debug info

    • Added “Wrap Corridors” bool to the Map settings, which will cause corridors with corners that intersect rooms to instead wrap around the center of the room

    • Changed room and corridor generation to address bugs

  • Added

    • Added Central Features

      • Added Central Features Bool, Area, and Actor to Path Room Data

      • Added Corridor Wrapping Bool to Map settings, causing corridors to wrap around rooms for whole dungeon regardless of central features

      • Added Shop example blueprint

      • Added Gazebo example blueprint

    • Added a dungeon Mini-map

      • Added Mini-map widget, and supporting textures

      • Added “Mini-map Color” setting to Path Room Data 

      • Mini-map generates at runtime and is added to the viewport

  • Fixed

    • Fixed an issue that caused the generator to never add rooms to the bottom left or right of previous rooms

    • Fixed an issue that caused room debug outlines to not align to the room bounds

Next
Next

Petri Kings: Devlog 3